﻿using Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp_PrismEventBus
{
    public class EventBus:PubSubEvent
    {

    }

    public class EventBusArgs : PubSubEvent<string>
    { 
        
    }

    public class LoginData
    { 
        public int UserID { get; set; }
        public string? UserName { get; set; }
        public string? Password { get; set; }
        public Action<string>? LoginAction { get; set; }
    }

    public class EventBusAction : PubSubEvent<LoginData>
    { 
        
    }
}
